<template>
    <div class='container'>
        <div>
            <div>所有提示:</div>
            <div style="width: 400px; height: 60px; background: #f4f4f4; text-align: center; line-height: 60px;" >
                <span style="cursor: not-allowed;"><button style="width: 150px; height: 30px; pointer-events: none;" @click="refund()">同意退款</button></span>
                <span style="cursor: pointer;"><button style="width: 150px; height: 30px;" @click="refund()" >不同意退款</button></span>
            </div>
        </div>
    </div>
</template>
<script>

var webSocket = null;

export default {
    name: 'asdf',
    data() {
        return {
            sendMsg: {
                from: '',
                to: '',
                text: '',
                // date: new Date(),
            }
        };
    },
    components: {
    },
    methods: {
        send(){
            webSocket.send(JSON.stringify(this.sendMsg))
        },
        refund(){
            this.$message({
                type: 'warning',
                message: "您已经进行了操作"
            })
        },
    },
    async created() {
        
    }
}
</script>

<style scoped></style>